package com.rybbaby.tss.front.tssClasses.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.front.tssClasses.dao.ViewTssClassAttendanceExportDao;
import com.rybbaby.tss.front.tssClasses.entity.ViewClassesAttendanceManagementExport;
import com.rybbaby.tss.front.tssClasses.service.ViewTssClassAttendanceExportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class ViewTssClassAttendanceExportServiceImp extends BaseServiceImp<ViewClassesAttendanceManagementExport> implements ViewTssClassAttendanceExportService {

    @Autowired
    private ViewTssClassAttendanceExportDao dao;

    @Override
    public List<ViewClassesAttendanceManagementExport> getAllList(Integer type) {
        return dao.getAllList(type);
    }

    @Override
    public List<ViewClassesAttendanceManagementExport> findListByIds(List<String> ids) {
        return dao.findListByIds(ids);
    }
}
